<?php
/**
 * User: 五哥派
 * Date: 2024/7/1
 * Tel(同WX): 17335592719
 */
namespace app\api\model\page;

use app\api\model\Base;

class Nav extends Base{

    protected $name = 'page_nav';

    public function getImageAttr($value){
        return $this->prefixImageUrl($value);
    }

    public function queryData($where=array(), $field = ''){
        return self::field($field)->where($where)->order($this->order)->select();
    }

}